<%--
  Created by IntelliJ IDEA.
  User: shugen
  Date: 2017/3/1
  Time: 20:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <title>问卷填写</title>
    <base href="<%=basePath%>">
    <meta charset="UTF-8"/>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta id="keywords" name="keywords" content=""/>
    <script type="text/javascript" src="resourse/newanser/script/jquery-1.8.3.min.js"></script>
    <link id="csstheme" href="resourse/newanser/css/style.css" rel="stylesheet" type="text/css"/>
    <!--提示框-->
    <link href="resourse/plugins/toast/jquery.toast.css" rel="stylesheet">
    <script src="resourse/plugins/toast/jquery.toast.js"></script>
    <link href="less/Black.ico" rel="shortcut icon" />
</head>
<body class="formpc">
<input type="hidden" name="path"     id="path"   value="<%=request.getContextPath()%>" />
<input type="hidden" id="init">
<form id="form"  action="" method="post" onsubmit="return false" >

    <article  class="formwrap">
        <div class="header">
        </div>
        <section class="contentwrap">
           <%-- <div class="logo" id="Survey_logo">
                <div class="logotitle">
                    <a href='#' target='_blank'>
                        <img src='#' alt='logo'/></a></div>
            </div>--%>
            <div class="content">
                <article class="container">
                    <header  class="formheader">
                        <h1 id="title">
                        </h1>
                        <h4 id="summary" style="margin-top: 0px;margin-bottom:5px;padding-top: 0px;"></h4>
                    </header>

                    <section  class="formpage formbody">
                        <section id="questionlist"  class="formsection sectionlayout1">

                        </section>
                        <footer  class="formaction">

                            <div  class="actiondone">
                                <input id="submit" type="submit" class="button" value="提交"/>
                            </div>
                        </footer>

                    </section>
                    <section id="Survey_thankyou" class="formpage formthankyou">
                        <div id="Survey_thankyoubody" class="thankyoubody">
                            提交成功！
                        </div>
                    </section>
                </article>
            </div>
        </section>
        <footer id="Survey_footer" data-role="footer" class="formfooter">
            <div>
                <a href='javascript:void(0)' target='_blank'>根哥</a>
                <a href='' target='_blank'>登入页</a>
            </div>
        </footer>
    </article>
    <div id="Survey_loading" style="display: none;" class="formloading">
        正在提交，请稍候...
    </div>

</form>
<script>

    $(function(){
        $("#Survey_done").click(function(){
        $("#Survey_loading").show();

        });
        var result = eval(${Questionnaire});
        if(result!=null) {
            creakQuestion(result);
            var result2 = eval(${AnserKey});
            if(result2!=null) {
                createResult(result2);
            }
        }
    });


</script>
<script src="jsp/monitor/questionshow2.js"></script>
</body>
</html>